package com.ljf.authority.dto.query;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ljf.common.dto.query.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * API列表定义--查询条件  authority_base_api_tabulation
 *
 * @author LJF
 * @since 2024-10-24
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("API列表定义--查询条件")
@EqualsAndHashCode(callSuper = true)
public class AuthorityBaseApiTabulationQuery extends PageParam implements Serializable {

    @JsonProperty("url")
    @ApiModelProperty(value = "URL地址")
    private String url;

    @JsonProperty("method")
    @ApiModelProperty(value = "请求方法")
    private Integer method;

    @JsonProperty("belongService")
    @ApiModelProperty(value = "归属服务")
    private String belongService;

    @JsonProperty("codeList")
    @ApiModelProperty(value = "编码(集合)")
    private List<String> codeList;

    @JsonProperty("activation")
    @ApiModelProperty(value = "激活状态")
    private Integer activation;

    @JsonProperty("code")
    @ApiModelProperty(value = "编码")
    private String code;

    @JsonProperty("ids")
    @ApiModelProperty(value = "ID(集合)")
    private List<Long> ids;

    @JsonProperty("codeLike")
    @ApiModelProperty(value = "编码(模糊)")
    private String codeLike;

    @JsonProperty("permissionType")
    @ApiModelProperty(value = "权限类型")
    private Integer permissionType;

}
